package com.codes.service;

import com.codes.model.Role;

import java.util.List;
import java.util.Map;

public interface RoleSV {
    int deleteByPrimaryKey(Integer id);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer id);

    List<Map<String,Object>> getAllRoles();

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    Map<String,Object> getRole(Map m );

}
